From: Florian Müllner Date: Thu, 13 Jul 2023 20:02:35 +0000 (+0200) Subject: ci: Include tests/ for linting X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~1^2~137 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3f667be2e81bd910df5b187300c6cfc0378120fc;p=gnome-shell.git ci: Include tests/ for linting Linting isn't exclusively about coding style, but can detect actual bugs. Part-of: --- diff --git a/.gitlab-ci/run-eslint b/.gitlab-ci/run-eslint index 5d0e41c8e..276a542f5 100755 --- a/.gitlab-ci/run-eslint +++ b/.gitlab-ci/run-eslint @@ -105,7 +105,7 @@ function getOption(...names) { const remote = getOption('--remote') || 'origin'; const branch = getOption('--branch', '-b'); - const sources = ['js', 'subprojects/extensions-app/js']; + const sources = ['js', 'subprojects/extensions-app/js', 'tests']; const regular = createConfig('regular'); const ops = [];